package net.ibizsys.central.cloud.saas.ebsx.spring.core.ou.dto;

import java.sql.Timestamp;
import java.util.List;
import java.math.BigDecimal;

import net.ibizsys.central.util.EntityDTO;

import com.fasterxml.jackson.annotation.JsonIgnore;
import net.ibizsys.runtime.util.DataTypeUtils;

/**
 * 部门
 * 
 * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/.ibizmodel.index
 */
public class DepartmentDTO extends EntityDTO {

  /**.
   * 部门标识
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/DEPTID/.ibizmodel.index
   */
  public final static String FIELD_DEPTID = "deptid";

  /**.
   * 部门代码
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/DEPTCODE/.ibizmodel.index
   */
  public final static String FIELD_DEPTCODE = "deptcode";

  /**.
   * 部门名称
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/DEPTNAME/.ibizmodel.index
   */
  public final static String FIELD_DEPTNAME = "deptname";

  /**.
   * 单位
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/ORGID/.ibizmodel.index
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/minorpsders/DER1N_SYS_DEPT_SYS_ORG_ORGID/.ibizmodel.index
   */
  public final static String FIELD_ORGID = "orgid";

  /**.
   * 上级部门
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/PDEPTID/.ibizmodel.index
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/minorpsders/DER1N_SYS_DEPT_SYS_DEPT_PDEPTID/.ibizmodel.index
   */
  public final static String FIELD_PARENTDEPTID = "parentdeptid";

  /**.
   * 部门简称
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/SHORTNAME/.ibizmodel.index
   */
  public final static String FIELD_SHORTNAME = "shortname";

  /**.
   * 部门级别
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/DEPTLEVEL/.ibizmodel.index
   */
  public final static String FIELD_DEPTLEVEL = "deptlevel";

  /**.
   * 区属
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/DOMAINS/.ibizmodel.index
   */
  public final static String FIELD_DOMAINS = "domains";

  /**.
   * 排序
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/SHOWORDER/.ibizmodel.index
   */
  public final static String FIELD_SHOWORDER = "showorder";

  /**.
   * 业务编码
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/BCODE/.ibizmodel.index
   */
  public final static String FIELD_BCODE = "bcode";

  /**.
   * 分管领导标识
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/LEADERID/.ibizmodel.index
   */
  public final static String FIELD_LEADERID = "leaderid";

  /**.
   * 分管领导
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/LEADERNAME/.ibizmodel.index
   */
  public final static String FIELD_LEADERNAME = "leadername";

  /**.
   * 单位
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/ORGNAME/.ibizmodel.index
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/minorpsders/DER1N_SYS_DEPT_SYS_ORG_ORGID/.ibizmodel.index
   */
  public final static String FIELD_ORGNAME = "orgname";

  /**.
   * 上级部门
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/PDEPTNAME/.ibizmodel.index
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/minorpsders/DER1N_SYS_DEPT_SYS_DEPT_PDEPTID/.ibizmodel.index
   */
  public final static String FIELD_PARENTDEPTNAME = "parentdeptname";

  /**.
   * 创建时间
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/CREATEDATE/.ibizmodel.index
   */
  public final static String FIELD_CREATEDATE = "createdate";

  /**.
   * 更新时间
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/UPDATEDATE/.ibizmodel.index
   */
  public final static String FIELD_UPDATEDATE = "updatedate";

  /**.
   * 保留
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/RESERVER/.ibizmodel.index
   */
  public final static String FIELD_RESERVER = "reserver";

  /**.
   * 保留10
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/RESERVER10/.ibizmodel.index
   */
  public final static String FIELD_RESERVER10 = "reserver10";

  /**.
   * 保留11
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/RESERVER11/.ibizmodel.index
   */
  public final static String FIELD_RESERVER11 = "reserver11";

  /**.
   * 保留12
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/RESERVER12/.ibizmodel.index
   */
  public final static String FIELD_RESERVER12 = "reserver12";

  /**.
   * 保留13
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/RESERVER13/.ibizmodel.index
   */
  public final static String FIELD_RESERVER13 = "reserver13";

  /**.
   * 保留14
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/RESERVER14/.ibizmodel.index
   */
  public final static String FIELD_RESERVER14 = "reserver14";

  /**.
   * 保留15
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/RESERVER15/.ibizmodel.index
   */
  public final static String FIELD_RESERVER15 = "reserver15";

  /**.
   * 保留16
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/RESERVER16/.ibizmodel.index
   */
  public final static String FIELD_RESERVER16 = "reserver16";

  /**.
   * 保留17
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/RESERVER17/.ibizmodel.index
   */
  public final static String FIELD_RESERVER17 = "reserver17";

  /**.
   * 保留18
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/RESERVER18/.ibizmodel.index
   */
  public final static String FIELD_RESERVER18 = "reserver18";

  /**.
   * 保留19
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/RESERVER19/.ibizmodel.index
   */
  public final static String FIELD_RESERVER19 = "reserver19";

  /**.
   * 保留2
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/RESERVER2/.ibizmodel.index
   */
  public final static String FIELD_RESERVER2 = "reserver2";

  /**.
   * 保留20
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/RESERVER20/.ibizmodel.index
   */
  public final static String FIELD_RESERVER20 = "reserver20";

  /**.
   * 保留3
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/RESERVER3/.ibizmodel.index
   */
  public final static String FIELD_RESERVER3 = "reserver3";

  /**.
   * 保留4
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/RESERVER4/.ibizmodel.index
   */
  public final static String FIELD_RESERVER4 = "reserver4";

  /**.
   * 保留5
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/RESERVER5/.ibizmodel.index
   */
  public final static String FIELD_RESERVER5 = "reserver5";

  /**.
   * 保留6
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/RESERVER6/.ibizmodel.index
   */
  public final static String FIELD_RESERVER6 = "reserver6";

  /**.
   * 保留7
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/RESERVER7/.ibizmodel.index
   */
  public final static String FIELD_RESERVER7 = "reserver7";

  /**.
   * 保留8
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/RESERVER8/.ibizmodel.index
   */
  public final static String FIELD_RESERVER8 = "reserver8";

  /**.
   * 保留9
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/RESERVER9/.ibizmodel.index
   */
  public final static String FIELD_RESERVER9 = "reserver9";

  /**.
   * 钉钉部门标识
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/DDDEPTID/.ibizmodel.index
   */
  public final static String FIELD_DDDEPTID = "dddeptid";

  /**.
   * 部门全称
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/DEPTFULLNAME/.ibizmodel.index
   */
  public final static String FIELD_DEPTFULLNAME = "deptfullname";

  /**.
   * 部门领导
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/DEPTLEADER/.ibizmodel.index
   */
  public final static String FIELD_DEPTLEADER = "deptleader";

  /**.
   * 部门领导标识
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/DEPTLEADERID/.ibizmodel.index
   */
  public final static String FIELD_DEPTLEADERID = "deptleaderid";

  /**.
   * 启用标志
   * {@link net.ibizsys.central.cloud.saas.ebsx.spring.core.runtime.dict.StaticDict.YesNo} 
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/ISVALID/.ibizmodel.index
   * @see ibizmos:/psmodules/uaa/pscodelists/YesNo.ibizmodel.yaml
   */
  public final static String FIELD_ISVALID = "isvalid";

  /**.
   * 组织代码
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/ORGCODE/.ibizmodel.index
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/minorpsders/DER1N_SYS_DEPT_SYS_ORG_ORGID/.ibizmodel.index
   */
  public final static String FIELD_ORGCODE = "orgcode";

  /**.
   * 企业微信部门标识
   *
   * @see ibizmos:/psmodules/ou/psdataentities/SYS_DEPT/psdefields/WXWORKDEPTID/.ibizmodel.index
   */
  public final static String FIELD_WXWORKDEPTID = "wxworkdeptid";


    /**
     * 设置「部门标识」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setDeptId(String val) {
        this._set(FIELD_DEPTID, val);
        return this;
    }

    /**
     * 获取「部门标识」值
     *
    */
    @JsonIgnore
    public String getDeptId() {
        return (String) this._get(FIELD_DEPTID);
    }

    /**
     * 判断 「部门标识」是否有值
     *
    */
    @JsonIgnore
    public boolean containsDeptId() {
        return this._contains(FIELD_DEPTID);
    }

    /**
     * 重置 「部门标识」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetDeptId() {
        this._reset(FIELD_DEPTID);
        return this;
    }

    /**
     * 设置「部门代码」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setDeptCode(String val) {
        this._set(FIELD_DEPTCODE, val);
        return this;
    }

    /**
     * 获取「部门代码」值
     *
    */
    @JsonIgnore
    public String getDeptCode() {
        return (String) this._get(FIELD_DEPTCODE);
    }

    /**
     * 判断 「部门代码」是否有值
     *
    */
    @JsonIgnore
    public boolean containsDeptCode() {
        return this._contains(FIELD_DEPTCODE);
    }

    /**
     * 重置 「部门代码」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetDeptCode() {
        this._reset(FIELD_DEPTCODE);
        return this;
    }

    /**
     * 设置「部门名称」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setDeptName(String val) {
        this._set(FIELD_DEPTNAME, val);
        return this;
    }

    /**
     * 获取「部门名称」值
     *
    */
    @JsonIgnore
    public String getDeptName() {
        return (String) this._get(FIELD_DEPTNAME);
    }

    /**
     * 判断 「部门名称」是否有值
     *
    */
    @JsonIgnore
    public boolean containsDeptName() {
        return this._contains(FIELD_DEPTNAME);
    }

    /**
     * 重置 「部门名称」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetDeptName() {
        this._reset(FIELD_DEPTNAME);
        return this;
    }

    /**
     * 设置「单位」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setOrgId(String val) {
        this._set(FIELD_ORGID, val);
        return this;
    }

    /**
     * 获取「单位」值
     *
    */
    @JsonIgnore
    public String getOrgId() {
        return (String) this._get(FIELD_ORGID);
    }

    /**
     * 判断 「单位」是否有值
     *
    */
    @JsonIgnore
    public boolean containsOrgId() {
        return this._contains(FIELD_ORGID);
    }

    /**
     * 重置 「单位」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetOrgId() {
        this._reset(FIELD_ORGID);
        return this;
    }

    /**
     * 设置「上级部门」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setParentDeptId(String val) {
        this._set(FIELD_PARENTDEPTID, val);
        return this;
    }

    /**
     * 获取「上级部门」值
     *
    */
    @JsonIgnore
    public String getParentDeptId() {
        return (String) this._get(FIELD_PARENTDEPTID);
    }

    /**
     * 判断 「上级部门」是否有值
     *
    */
    @JsonIgnore
    public boolean containsParentDeptId() {
        return this._contains(FIELD_PARENTDEPTID);
    }

    /**
     * 重置 「上级部门」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetParentDeptId() {
        this._reset(FIELD_PARENTDEPTID);
        return this;
    }

    /**
     * 设置「部门简称」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setShortName(String val) {
        this._set(FIELD_SHORTNAME, val);
        return this;
    }

    /**
     * 获取「部门简称」值
     *
    */
    @JsonIgnore
    public String getShortName() {
        return (String) this._get(FIELD_SHORTNAME);
    }

    /**
     * 判断 「部门简称」是否有值
     *
    */
    @JsonIgnore
    public boolean containsShortName() {
        return this._contains(FIELD_SHORTNAME);
    }

    /**
     * 重置 「部门简称」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetShortName() {
        this._reset(FIELD_SHORTNAME);
        return this;
    }

    /**
     * 设置「部门级别」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setDeptLevel(Integer val) {
        this._set(FIELD_DEPTLEVEL, val);
        return this;
    }

    /**
     * 获取「部门级别」值
     *
    */
    @JsonIgnore
    public Integer getDeptLevel() {
        try{
            return DataTypeUtils.getIntegerValue(this._get(FIELD_DEPTLEVEL),null);
        }catch (Exception e){
            throw new RuntimeException(e);
        }
    }

    /**
     * 判断 「部门级别」是否有值
     *
    */
    @JsonIgnore
    public boolean containsDeptLevel() {
        return this._contains(FIELD_DEPTLEVEL);
    }

    /**
     * 重置 「部门级别」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetDeptLevel() {
        this._reset(FIELD_DEPTLEVEL);
        return this;
    }

    /**
     * 设置「区属」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setDomains(String val) {
        this._set(FIELD_DOMAINS, val);
        return this;
    }

    /**
     * 获取「区属」值
     *
    */
    @JsonIgnore
    public String getDomains() {
        return (String) this._get(FIELD_DOMAINS);
    }

    /**
     * 判断 「区属」是否有值
     *
    */
    @JsonIgnore
    public boolean containsDomains() {
        return this._contains(FIELD_DOMAINS);
    }

    /**
     * 重置 「区属」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetDomains() {
        this._reset(FIELD_DOMAINS);
        return this;
    }

    /**
     * 设置「排序」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setShowOrder(Integer val) {
        this._set(FIELD_SHOWORDER, val);
        return this;
    }

    /**
     * 获取「排序」值
     *
    */
    @JsonIgnore
    public Integer getShowOrder() {
        try{
            return DataTypeUtils.getIntegerValue(this._get(FIELD_SHOWORDER),null);
        }catch (Exception e){
            throw new RuntimeException(e);
        }
    }

    /**
     * 判断 「排序」是否有值
     *
    */
    @JsonIgnore
    public boolean containsShowOrder() {
        return this._contains(FIELD_SHOWORDER);
    }

    /**
     * 重置 「排序」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetShowOrder() {
        this._reset(FIELD_SHOWORDER);
        return this;
    }

    /**
     * 设置「业务编码」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setBCode(String val) {
        this._set(FIELD_BCODE, val);
        return this;
    }

    /**
     * 获取「业务编码」值
     *
    */
    @JsonIgnore
    public String getBCode() {
        return (String) this._get(FIELD_BCODE);
    }

    /**
     * 判断 「业务编码」是否有值
     *
    */
    @JsonIgnore
    public boolean containsBCode() {
        return this._contains(FIELD_BCODE);
    }

    /**
     * 重置 「业务编码」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetBCode() {
        this._reset(FIELD_BCODE);
        return this;
    }

    /**
     * 设置「分管领导标识」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setLeaderId(String val) {
        this._set(FIELD_LEADERID, val);
        return this;
    }

    /**
     * 获取「分管领导标识」值
     *
    */
    @JsonIgnore
    public String getLeaderId() {
        return (String) this._get(FIELD_LEADERID);
    }

    /**
     * 判断 「分管领导标识」是否有值
     *
    */
    @JsonIgnore
    public boolean containsLeaderId() {
        return this._contains(FIELD_LEADERID);
    }

    /**
     * 重置 「分管领导标识」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetLeaderId() {
        this._reset(FIELD_LEADERID);
        return this;
    }

    /**
     * 设置「分管领导」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setLeaderName(String val) {
        this._set(FIELD_LEADERNAME, val);
        return this;
    }

    /**
     * 获取「分管领导」值
     *
    */
    @JsonIgnore
    public String getLeaderName() {
        return (String) this._get(FIELD_LEADERNAME);
    }

    /**
     * 判断 「分管领导」是否有值
     *
    */
    @JsonIgnore
    public boolean containsLeaderName() {
        return this._contains(FIELD_LEADERNAME);
    }

    /**
     * 重置 「分管领导」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetLeaderName() {
        this._reset(FIELD_LEADERNAME);
        return this;
    }

    /**
     * 设置「单位」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setOrgName(String val) {
        this._set(FIELD_ORGNAME, val);
        return this;
    }

    /**
     * 获取「单位」值
     *
    */
    @JsonIgnore
    public String getOrgName() {
        return (String) this._get(FIELD_ORGNAME);
    }

    /**
     * 判断 「单位」是否有值
     *
    */
    @JsonIgnore
    public boolean containsOrgName() {
        return this._contains(FIELD_ORGNAME);
    }

    /**
     * 重置 「单位」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetOrgName() {
        this._reset(FIELD_ORGNAME);
        return this;
    }

    /**
     * 设置「上级部门」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setParentDeptName(String val) {
        this._set(FIELD_PARENTDEPTNAME, val);
        return this;
    }

    /**
     * 获取「上级部门」值
     *
    */
    @JsonIgnore
    public String getParentDeptName() {
        return (String) this._get(FIELD_PARENTDEPTNAME);
    }

    /**
     * 判断 「上级部门」是否有值
     *
    */
    @JsonIgnore
    public boolean containsParentDeptName() {
        return this._contains(FIELD_PARENTDEPTNAME);
    }

    /**
     * 重置 「上级部门」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetParentDeptName() {
        this._reset(FIELD_PARENTDEPTNAME);
        return this;
    }

    /**
     * 设置「创建时间」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setCreateDate(Timestamp val) {
        this._set(FIELD_CREATEDATE, val);
        return this;
    }

    /**
     * 获取「创建时间」值
     *
    */
    @JsonIgnore
    public Timestamp getCreateDate() {
        try{
            return DataTypeUtils.getDateTimeValue(this._get(FIELD_CREATEDATE),null);
        }catch (Exception e){
            throw new RuntimeException(e);
        }
    }

    /**
     * 判断 「创建时间」是否有值
     *
    */
    @JsonIgnore
    public boolean containsCreateDate() {
        return this._contains(FIELD_CREATEDATE);
    }

    /**
     * 重置 「创建时间」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetCreateDate() {
        this._reset(FIELD_CREATEDATE);
        return this;
    }

    /**
     * 设置「更新时间」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setUpdateDate(Timestamp val) {
        this._set(FIELD_UPDATEDATE, val);
        return this;
    }

    /**
     * 获取「更新时间」值
     *
    */
    @JsonIgnore
    public Timestamp getUpdateDate() {
        try{
            return DataTypeUtils.getDateTimeValue(this._get(FIELD_UPDATEDATE),null);
        }catch (Exception e){
            throw new RuntimeException(e);
        }
    }

    /**
     * 判断 「更新时间」是否有值
     *
    */
    @JsonIgnore
    public boolean containsUpdateDate() {
        return this._contains(FIELD_UPDATEDATE);
    }

    /**
     * 重置 「更新时间」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetUpdateDate() {
        this._reset(FIELD_UPDATEDATE);
        return this;
    }

    /**
     * 设置「保留」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setReserver(String val) {
        this._set(FIELD_RESERVER, val);
        return this;
    }

    /**
     * 获取「保留」值
     *
    */
    @JsonIgnore
    public String getReserver() {
        return (String) this._get(FIELD_RESERVER);
    }

    /**
     * 判断 「保留」是否有值
     *
    */
    @JsonIgnore
    public boolean containsReserver() {
        return this._contains(FIELD_RESERVER);
    }

    /**
     * 重置 「保留」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetReserver() {
        this._reset(FIELD_RESERVER);
        return this;
    }

    /**
     * 设置「保留10」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setReserver10(String val) {
        this._set(FIELD_RESERVER10, val);
        return this;
    }

    /**
     * 获取「保留10」值
     *
    */
    @JsonIgnore
    public String getReserver10() {
        return (String) this._get(FIELD_RESERVER10);
    }

    /**
     * 判断 「保留10」是否有值
     *
    */
    @JsonIgnore
    public boolean containsReserver10() {
        return this._contains(FIELD_RESERVER10);
    }

    /**
     * 重置 「保留10」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetReserver10() {
        this._reset(FIELD_RESERVER10);
        return this;
    }

    /**
     * 设置「保留11」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setReserver11(Integer val) {
        this._set(FIELD_RESERVER11, val);
        return this;
    }

    /**
     * 获取「保留11」值
     *
    */
    @JsonIgnore
    public Integer getReserver11() {
        try{
            return DataTypeUtils.getIntegerValue(this._get(FIELD_RESERVER11),null);
        }catch (Exception e){
            throw new RuntimeException(e);
        }
    }

    /**
     * 判断 「保留11」是否有值
     *
    */
    @JsonIgnore
    public boolean containsReserver11() {
        return this._contains(FIELD_RESERVER11);
    }

    /**
     * 重置 「保留11」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetReserver11() {
        this._reset(FIELD_RESERVER11);
        return this;
    }

    /**
     * 设置「保留12」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setReserver12(Integer val) {
        this._set(FIELD_RESERVER12, val);
        return this;
    }

    /**
     * 获取「保留12」值
     *
    */
    @JsonIgnore
    public Integer getReserver12() {
        try{
            return DataTypeUtils.getIntegerValue(this._get(FIELD_RESERVER12),null);
        }catch (Exception e){
            throw new RuntimeException(e);
        }
    }

    /**
     * 判断 「保留12」是否有值
     *
    */
    @JsonIgnore
    public boolean containsReserver12() {
        return this._contains(FIELD_RESERVER12);
    }

    /**
     * 重置 「保留12」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetReserver12() {
        this._reset(FIELD_RESERVER12);
        return this;
    }

    /**
     * 设置「保留13」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setReserver13(Integer val) {
        this._set(FIELD_RESERVER13, val);
        return this;
    }

    /**
     * 获取「保留13」值
     *
    */
    @JsonIgnore
    public Integer getReserver13() {
        try{
            return DataTypeUtils.getIntegerValue(this._get(FIELD_RESERVER13),null);
        }catch (Exception e){
            throw new RuntimeException(e);
        }
    }

    /**
     * 判断 「保留13」是否有值
     *
    */
    @JsonIgnore
    public boolean containsReserver13() {
        return this._contains(FIELD_RESERVER13);
    }

    /**
     * 重置 「保留13」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetReserver13() {
        this._reset(FIELD_RESERVER13);
        return this;
    }

    /**
     * 设置「保留14」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setReserver14(Integer val) {
        this._set(FIELD_RESERVER14, val);
        return this;
    }

    /**
     * 获取「保留14」值
     *
    */
    @JsonIgnore
    public Integer getReserver14() {
        try{
            return DataTypeUtils.getIntegerValue(this._get(FIELD_RESERVER14),null);
        }catch (Exception e){
            throw new RuntimeException(e);
        }
    }

    /**
     * 判断 「保留14」是否有值
     *
    */
    @JsonIgnore
    public boolean containsReserver14() {
        return this._contains(FIELD_RESERVER14);
    }

    /**
     * 重置 「保留14」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetReserver14() {
        this._reset(FIELD_RESERVER14);
        return this;
    }

    /**
     * 设置「保留15」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setReserver15(BigDecimal val) {
        this._set(FIELD_RESERVER15, val);
        return this;
    }

    /**
     * 获取「保留15」值
     *
    */
    @JsonIgnore
    public BigDecimal getReserver15() {
        try{
            return DataTypeUtils.getBigDecimalValue(this._get(FIELD_RESERVER15),null);
        }catch (Exception e){
            throw new RuntimeException(e);
        }
    }

    /**
     * 判断 「保留15」是否有值
     *
    */
    @JsonIgnore
    public boolean containsReserver15() {
        return this._contains(FIELD_RESERVER15);
    }

    /**
     * 重置 「保留15」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetReserver15() {
        this._reset(FIELD_RESERVER15);
        return this;
    }

    /**
     * 设置「保留16」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setReserver16(BigDecimal val) {
        this._set(FIELD_RESERVER16, val);
        return this;
    }

    /**
     * 获取「保留16」值
     *
    */
    @JsonIgnore
    public BigDecimal getReserver16() {
        try{
            return DataTypeUtils.getBigDecimalValue(this._get(FIELD_RESERVER16),null);
        }catch (Exception e){
            throw new RuntimeException(e);
        }
    }

    /**
     * 判断 「保留16」是否有值
     *
    */
    @JsonIgnore
    public boolean containsReserver16() {
        return this._contains(FIELD_RESERVER16);
    }

    /**
     * 重置 「保留16」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetReserver16() {
        this._reset(FIELD_RESERVER16);
        return this;
    }

    /**
     * 设置「保留17」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setReserver17(BigDecimal val) {
        this._set(FIELD_RESERVER17, val);
        return this;
    }

    /**
     * 获取「保留17」值
     *
    */
    @JsonIgnore
    public BigDecimal getReserver17() {
        try{
            return DataTypeUtils.getBigDecimalValue(this._get(FIELD_RESERVER17),null);
        }catch (Exception e){
            throw new RuntimeException(e);
        }
    }

    /**
     * 判断 「保留17」是否有值
     *
    */
    @JsonIgnore
    public boolean containsReserver17() {
        return this._contains(FIELD_RESERVER17);
    }

    /**
     * 重置 「保留17」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetReserver17() {
        this._reset(FIELD_RESERVER17);
        return this;
    }

    /**
     * 设置「保留18」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setReserver18(BigDecimal val) {
        this._set(FIELD_RESERVER18, val);
        return this;
    }

    /**
     * 获取「保留18」值
     *
    */
    @JsonIgnore
    public BigDecimal getReserver18() {
        try{
            return DataTypeUtils.getBigDecimalValue(this._get(FIELD_RESERVER18),null);
        }catch (Exception e){
            throw new RuntimeException(e);
        }
    }

    /**
     * 判断 「保留18」是否有值
     *
    */
    @JsonIgnore
    public boolean containsReserver18() {
        return this._contains(FIELD_RESERVER18);
    }

    /**
     * 重置 「保留18」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetReserver18() {
        this._reset(FIELD_RESERVER18);
        return this;
    }

    /**
     * 设置「保留19」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setReserver19(Timestamp val) {
        this._set(FIELD_RESERVER19, val);
        return this;
    }

    /**
     * 获取「保留19」值
     *
    */
    @JsonIgnore
    public Timestamp getReserver19() {
        try{
            return DataTypeUtils.getDateTimeValue(this._get(FIELD_RESERVER19),null);
        }catch (Exception e){
            throw new RuntimeException(e);
        }
    }

    /**
     * 判断 「保留19」是否有值
     *
    */
    @JsonIgnore
    public boolean containsReserver19() {
        return this._contains(FIELD_RESERVER19);
    }

    /**
     * 重置 「保留19」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetReserver19() {
        this._reset(FIELD_RESERVER19);
        return this;
    }

    /**
     * 设置「保留2」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setReserver2(String val) {
        this._set(FIELD_RESERVER2, val);
        return this;
    }

    /**
     * 获取「保留2」值
     *
    */
    @JsonIgnore
    public String getReserver2() {
        return (String) this._get(FIELD_RESERVER2);
    }

    /**
     * 判断 「保留2」是否有值
     *
    */
    @JsonIgnore
    public boolean containsReserver2() {
        return this._contains(FIELD_RESERVER2);
    }

    /**
     * 重置 「保留2」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetReserver2() {
        this._reset(FIELD_RESERVER2);
        return this;
    }

    /**
     * 设置「保留20」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setReserver20(Timestamp val) {
        this._set(FIELD_RESERVER20, val);
        return this;
    }

    /**
     * 获取「保留20」值
     *
    */
    @JsonIgnore
    public Timestamp getReserver20() {
        try{
            return DataTypeUtils.getDateTimeValue(this._get(FIELD_RESERVER20),null);
        }catch (Exception e){
            throw new RuntimeException(e);
        }
    }

    /**
     * 判断 「保留20」是否有值
     *
    */
    @JsonIgnore
    public boolean containsReserver20() {
        return this._contains(FIELD_RESERVER20);
    }

    /**
     * 重置 「保留20」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetReserver20() {
        this._reset(FIELD_RESERVER20);
        return this;
    }

    /**
     * 设置「保留3」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setReserver3(String val) {
        this._set(FIELD_RESERVER3, val);
        return this;
    }

    /**
     * 获取「保留3」值
     *
    */
    @JsonIgnore
    public String getReserver3() {
        return (String) this._get(FIELD_RESERVER3);
    }

    /**
     * 判断 「保留3」是否有值
     *
    */
    @JsonIgnore
    public boolean containsReserver3() {
        return this._contains(FIELD_RESERVER3);
    }

    /**
     * 重置 「保留3」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetReserver3() {
        this._reset(FIELD_RESERVER3);
        return this;
    }

    /**
     * 设置「保留4」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setReserver4(String val) {
        this._set(FIELD_RESERVER4, val);
        return this;
    }

    /**
     * 获取「保留4」值
     *
    */
    @JsonIgnore
    public String getReserver4() {
        return (String) this._get(FIELD_RESERVER4);
    }

    /**
     * 判断 「保留4」是否有值
     *
    */
    @JsonIgnore
    public boolean containsReserver4() {
        return this._contains(FIELD_RESERVER4);
    }

    /**
     * 重置 「保留4」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetReserver4() {
        this._reset(FIELD_RESERVER4);
        return this;
    }

    /**
     * 设置「保留5」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setReserver5(String val) {
        this._set(FIELD_RESERVER5, val);
        return this;
    }

    /**
     * 获取「保留5」值
     *
    */
    @JsonIgnore
    public String getReserver5() {
        return (String) this._get(FIELD_RESERVER5);
    }

    /**
     * 判断 「保留5」是否有值
     *
    */
    @JsonIgnore
    public boolean containsReserver5() {
        return this._contains(FIELD_RESERVER5);
    }

    /**
     * 重置 「保留5」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetReserver5() {
        this._reset(FIELD_RESERVER5);
        return this;
    }

    /**
     * 设置「保留6」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setReserver6(String val) {
        this._set(FIELD_RESERVER6, val);
        return this;
    }

    /**
     * 获取「保留6」值
     *
    */
    @JsonIgnore
    public String getReserver6() {
        return (String) this._get(FIELD_RESERVER6);
    }

    /**
     * 判断 「保留6」是否有值
     *
    */
    @JsonIgnore
    public boolean containsReserver6() {
        return this._contains(FIELD_RESERVER6);
    }

    /**
     * 重置 「保留6」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetReserver6() {
        this._reset(FIELD_RESERVER6);
        return this;
    }

    /**
     * 设置「保留7」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setReserver7(String val) {
        this._set(FIELD_RESERVER7, val);
        return this;
    }

    /**
     * 获取「保留7」值
     *
    */
    @JsonIgnore
    public String getReserver7() {
        return (String) this._get(FIELD_RESERVER7);
    }

    /**
     * 判断 「保留7」是否有值
     *
    */
    @JsonIgnore
    public boolean containsReserver7() {
        return this._contains(FIELD_RESERVER7);
    }

    /**
     * 重置 「保留7」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetReserver7() {
        this._reset(FIELD_RESERVER7);
        return this;
    }

    /**
     * 设置「保留8」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setReserver8(String val) {
        this._set(FIELD_RESERVER8, val);
        return this;
    }

    /**
     * 获取「保留8」值
     *
    */
    @JsonIgnore
    public String getReserver8() {
        return (String) this._get(FIELD_RESERVER8);
    }

    /**
     * 判断 「保留8」是否有值
     *
    */
    @JsonIgnore
    public boolean containsReserver8() {
        return this._contains(FIELD_RESERVER8);
    }

    /**
     * 重置 「保留8」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetReserver8() {
        this._reset(FIELD_RESERVER8);
        return this;
    }

    /**
     * 设置「保留9」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setReserver9(String val) {
        this._set(FIELD_RESERVER9, val);
        return this;
    }

    /**
     * 获取「保留9」值
     *
    */
    @JsonIgnore
    public String getReserver9() {
        return (String) this._get(FIELD_RESERVER9);
    }

    /**
     * 判断 「保留9」是否有值
     *
    */
    @JsonIgnore
    public boolean containsReserver9() {
        return this._contains(FIELD_RESERVER9);
    }

    /**
     * 重置 「保留9」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetReserver9() {
        this._reset(FIELD_RESERVER9);
        return this;
    }

    /**
     * 设置「钉钉部门标识」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setDDDeptId(String val) {
        this._set(FIELD_DDDEPTID, val);
        return this;
    }

    /**
     * 获取「钉钉部门标识」值
     *
    */
    @JsonIgnore
    public String getDDDeptId() {
        return (String) this._get(FIELD_DDDEPTID);
    }

    /**
     * 判断 「钉钉部门标识」是否有值
     *
    */
    @JsonIgnore
    public boolean containsDDDeptId() {
        return this._contains(FIELD_DDDEPTID);
    }

    /**
     * 重置 「钉钉部门标识」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetDDDeptId() {
        this._reset(FIELD_DDDEPTID);
        return this;
    }

    /**
     * 设置「部门全称」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setDeptFullName(String val) {
        this._set(FIELD_DEPTFULLNAME, val);
        return this;
    }

    /**
     * 获取「部门全称」值
     *
    */
    @JsonIgnore
    public String getDeptFullName() {
        return (String) this._get(FIELD_DEPTFULLNAME);
    }

    /**
     * 判断 「部门全称」是否有值
     *
    */
    @JsonIgnore
    public boolean containsDeptFullName() {
        return this._contains(FIELD_DEPTFULLNAME);
    }

    /**
     * 重置 「部门全称」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetDeptFullName() {
        this._reset(FIELD_DEPTFULLNAME);
        return this;
    }

    /**
     * 设置「部门领导」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setDeptLeader(String val) {
        this._set(FIELD_DEPTLEADER, val);
        return this;
    }

    /**
     * 获取「部门领导」值
     *
    */
    @JsonIgnore
    public String getDeptLeader() {
        return (String) this._get(FIELD_DEPTLEADER);
    }

    /**
     * 判断 「部门领导」是否有值
     *
    */
    @JsonIgnore
    public boolean containsDeptLeader() {
        return this._contains(FIELD_DEPTLEADER);
    }

    /**
     * 重置 「部门领导」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetDeptLeader() {
        this._reset(FIELD_DEPTLEADER);
        return this;
    }

    /**
     * 设置「部门领导标识」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setDeptLeaderId(String val) {
        this._set(FIELD_DEPTLEADERID, val);
        return this;
    }

    /**
     * 获取「部门领导标识」值
     *
    */
    @JsonIgnore
    public String getDeptLeaderId() {
        return (String) this._get(FIELD_DEPTLEADERID);
    }

    /**
     * 判断 「部门领导标识」是否有值
     *
    */
    @JsonIgnore
    public boolean containsDeptLeaderId() {
        return this._contains(FIELD_DEPTLEADERID);
    }

    /**
     * 重置 「部门领导标识」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetDeptLeaderId() {
        this._reset(FIELD_DEPTLEADERID);
        return this;
    }

    /**
     * 设置「启用标志」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setIsValid(Integer val) {
        this._set(FIELD_ISVALID, val);
        return this;
    }

    /**
     * 获取「启用标志」值
     *
    */
    @JsonIgnore
    public Integer getIsValid() {
        try{
            return DataTypeUtils.getIntegerValue(this._get(FIELD_ISVALID),null);
        }catch (Exception e){
            throw new RuntimeException(e);
        }
    }

    /**
     * 判断 「启用标志」是否有值
     *
    */
    @JsonIgnore
    public boolean containsIsValid() {
        return this._contains(FIELD_ISVALID);
    }

    /**
     * 重置 「启用标志」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetIsValid() {
        this._reset(FIELD_ISVALID);
        return this;
    }

    /**
     * 设置「组织代码」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setOrgCode(String val) {
        this._set(FIELD_ORGCODE, val);
        return this;
    }

    /**
     * 获取「组织代码」值
     *
    */
    @JsonIgnore
    public String getOrgCode() {
        return (String) this._get(FIELD_ORGCODE);
    }

    /**
     * 判断 「组织代码」是否有值
     *
    */
    @JsonIgnore
    public boolean containsOrgCode() {
        return this._contains(FIELD_ORGCODE);
    }

    /**
     * 重置 「组织代码」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetOrgCode() {
        this._reset(FIELD_ORGCODE);
        return this;
    }

    /**
     * 设置「企业微信部门标识」
     *
     * @param val
    */
    @JsonIgnore
    public DepartmentDTO setWXWorkDeptId(String val) {
        this._set(FIELD_WXWORKDEPTID, val);
        return this;
    }

    /**
     * 获取「企业微信部门标识」值
     *
    */
    @JsonIgnore
    public String getWXWorkDeptId() {
        return (String) this._get(FIELD_WXWORKDEPTID);
    }

    /**
     * 判断 「企业微信部门标识」是否有值
     *
    */
    @JsonIgnore
    public boolean containsWXWorkDeptId() {
        return this._contains(FIELD_WXWORKDEPTID);
    }

    /**
     * 重置 「企业微信部门标识」
     *
    */
    @JsonIgnore
    public DepartmentDTO resetWXWorkDeptId() {
        this._reset(FIELD_WXWORKDEPTID);
        return this;
    }


}
